*{
	margin: auto 0;
	padding: 0; }
  
body {
	font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
	text-align: left;
	background-image: URL(../img/36.png);
	background-repeat: no-repeat;}
  
html,body{
    height: 100%;
    margin: auto 0; }

/*下拉式選單*/

.wrap{
    max-width:100%;
    margin:0 auto;
  }
  
  
  .clearfix:after{
    content:'';
    display:table;
    clear:both;
  }

  .header{
    border-bottom: 1px solid #ffffff;
	padding-bottom: 0em;
	position: relative;
    z-index: 100;    }

.logo a{
	float:left;
	width: 250px;
	height: 50px;
	background:rgba(224, 222, 222, 0);
	display: block;
	text-decoration: none;	
	text-indent: 0;
	overflow: hidden;
	white-space: nowrap;
  background-image: url("../img/34.png"); /* 设置背景图像 */
  background-size: 100%; /* 設置背景圖像大小為原來的 50% */
  background-repeat: no-repeat; /* 禁止图像重复 */
  text-indent: -9999px; /* 让链接文字消失，但不影响屏幕阅读器 */
  margin-left: 1%;
}
 
  .menu-list{
      float:right;
  }
  
  .menu-list li{/*菜單順序由左至右*/
    float:left;
    display: block;
    padding: 0 1em;
    height: auto;
  }
  
  .menu-list a
  {	display: block;
      text-decoration: none;
      font-weight: 700;
      color:#ffffff;
      padding:1em;
  }
  
  .menu-list a:hover{
	color: #013c3d;
    background-color: #c6c6c6;
}
  
  .showmenu{
      display: none;
      float: right;
      text-decoration: none;
      color:#ffffff;
      font-weight: 600;
      padding:1em;  }

/*下拉式選單*/

    /*下拉式選單RWD*/

    @media(max-width: 768px){
        .menu-list{		
            /*隱藏選單開始*/
            max-height: 0;
            overflow: hidden;
            /*隱藏選單end*/
            position: absolute;/*追隨.header*/
            /*讓選單從左到右延伸start*/
            right: 0;
            left: 0;
            /*讓選單從左到右延伸end*/
            top:67px;
            /*把menu-list位置移到.header下方。點擊menu滑出/因沒設header高度，所以用開發者工具看高多少*/
            z-index:100;
        transition: all 2.5s;
        }
        .menu-list li{
            float:none;
            border-bottom:  1px solid #ffffff ;
            background:rgb(3, 0, 0,0.8);
        }
        .showmenu{
            display: block;
        }
        /*jQ點擊後動態在 body 加上 class */ 
        .menu-show .menu-list{
            max-height: 336px; 
        }
    }
    .content{
        padding: 5% 6%;
    }
    .content p{
        line-height: 1.8;
        margin-bottom: 1.5em;
    }
    
            /*下拉式選單RWD*/
        /*下拉式選單*/



      

/************************************************Lable************************************/
h2 {
  margin-bottom: 1%;
  font-size: 2em;
  font-family:'Arial Narrow',Arial, Helvetica, sans-serif;
  line-height: 50px;
  text-align:center;
  margin-top: -32%;
  color: rgba(255, 255, 255);
  background-color: rgba(99, 99, 99, 0.9);
  border-radius: 5pt;}

p {
font-size:1.5em;
font-family:'Arial Narrow',Arial, Helvetica, sans-serif;
line-height: 50px;
color: rgba(255, 255, 255); 
text-align: left;
margin-left: 30%;
padding-left: 5%;
padding-right: 3%;
margin: 0;
background-color: rgba(51, 51, 51, 0.7);
border-radius: 5pt;}



#main {
	min-height: 100%;
  min-width: 100%;
	margin: 0% 0;
	padding: 0;
	display: flex;
	flex-flow: row;
	transform: translate(0%, 0%); }

#main > C {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    text-align: center;
    margin: 10px;
    padding: 0px;
    border-radius: 5pt;
    background: rgba(255, 255, 255,0);
    box-shadow: 1px 2px 5px #c6c6c6;
    flex: 2 1 30%;
    order: 1;
    border-radius: 5pt;
    width: 100%;
    max-width: 100vw;}

  #main > D {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    text-align: center;
    margin: 10px;
    text-align: center;
    padding: 0px;
    border-radius: 5pt;
    background: rgba(255, 255, 255,0);
    box-shadow: 1px 2px 5px #c6c6c6;
    flex: 2 1 70%;
    order: 2;
    border-radius: 5pt;
    width: 100%;
    max-width: 100vw;}

    #btnA, #btnB,#btnC, #btnD {
      z-index: 1;
      height: 50px;
      margin-top:2%;
      box-shadow: 1px 2px 5px #ddd8d8;
      flex-basis: 50%;
      position: static;
      margin-top: 0;
      width: 50%;}
  
  #btnA {
    margin-top: 20%;
    left: 15%;}
  
  #btnB {
    top: 0;
    left: 20%;    }

  #btnC {
    top: 0;
    left: 25%;}
    
  #btnD {
    top: 0;
    left: 30%;
    margin-bottom: 20%;    }
  
  button {
    font-weight: bold;
    font-family:'Arial Narrow',Arial, Helvetica, sans-serif;
    background-color: rgb(199, 199, 199); /* 設定按鈕的背景顏色 */
    border: none; /* 移除按鈕邊框 */
    color: rgb(68, 62, 62); /* 設定按鈕文字顏色 */
    padding: 10px 20px; /* 設定按鈕內容和邊框的間距 */
    text-align: center; /* 將按鈕內容置中 */
    text-decoration: none; /* 移除文字下劃線 */
    display: inline-block; /* 設定按鈕為行內元素，使得按鈕可以與其他元素並排顯示 */
    font-size: 1.2em; /* 設定按鈕文字大小 */
    margin: 40px 2px; /* 設定按鈕與其他元素之間的間距 */
    cursor: pointer; /* 設定滑鼠游標類型，當滑鼠移到按鈕上時會變成手形游標 */
    border-radius: 20px; }

  
  /* 設定按鈕的 hover 狀態 */
  button:hover {
    background-color: #838383;
  }
  
  /* 設定按鈕的 active 狀態 */
  button:active {
    background-color: #bbbbbb;
    box-shadow: 0 5px #666;
    transform: translateY(4px);   }
  
  #video1, #video2,#video3, #video4 {
      height: auto;
      max-width: 100%;
      min-width: 50%;
      margin-top: 5%;
      width: 90%;
    }

  #main > D > div > video{
      margin-top:2%;
  }
  
  .hide {
      display: none;
  }
  
    @media all and (max-width: 1440px){
    #video1, #video2,#video3, #video4 {
      margin-top: 0%;
    }
    h2 { font-size: 1.6em;}

  }

  @media all and (max-width: 1280px){
    #btnA, #btnB,#btnC, #btnD {
      width: 80%;}
  }

  
  @media all and (max-width: 768px) {
  
    #main,
    #page {
        flex-direction: column;
    }
  
    h2 { font-size: 1.3em; margin-top: -62%;}

    p{font-size: 1em;}

    #video1, #video2,#video3, #video4 {
      width: 100%;
      margin-top: 0%;
    }


    button {
      margin: 5px 2px; /* 設定按鈕與其他元素之間的間距 */ }

    #btnA {
      margin-top: 0%;}

    #btnD {
      margin-bottom: 2%;    }

    #btnA, #btnB,#btnC, #btnD {
      width: 80%;}

    

}
  






  
